package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

import com.ly.common.core.domain.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 金蝶-差异日志
 * </p>
 * @author WuZH
 * @since 2024-07-30
 */
@Data
@TableName ("erp_king_diff_log_info")
@ApiModel (value = "KingDiffLogEntity对象", description = "金蝶-差异日志")
@Accessors(chain = true)
public class KingDiffLogEntity extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ("id")
    @TableId (value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty ("勾稽序号")
    @TableField ("serial_number")
    private String serialNumber;

    @ApiModelProperty ("单据编号")
    @TableField ("doc_no")
    private String docNo;

    @ApiModelProperty ("单据行号")
    @TableField ("line_number")
    private String lineNumber;

    @ApiModelProperty ("核销日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField ("verify_date")
    private Date verifyDate;

    @ApiModelProperty ("分配来源")
    @TableField ("allocate_sources")
    private String allocateSources;

    @ApiModelProperty ("分配标准")
    @TableField ("allocation_criteria")
    private String allocationCriteria;

    @ApiModelProperty ("单据类型")
    @TableField ("doc_type_code")
    private String docTypeCode;

    @ApiModelProperty ("物料编码")
    @TableField ("material_code")
    private String materialCode;

    @ApiModelProperty ("物料Id")
    @TableField ("material_id")
    private String materialId;

    @ApiModelProperty ("批号")
    @TableField ("batch_num")
    private String batchNum;

    @ApiModelProperty ("本次钩稽数量")
    @TableField ("verify_number")
    private String verifyNumber;

    @ApiModelProperty ("币别")
    @TableField ("currency_code")
    private String currencyCode;

    @ApiModelProperty ("本次钩稽金额")
    @TableField ("verify_amount")
    private String verifyAmount;

    @ApiModelProperty ("本位币币别")
    @TableField ("standard_currency_code")
    private String standardCurrencyCode;

    @ApiModelProperty ("金额本位币")
    @TableField ("verify_amount_currency")
    private String verifyAmountCurrency;

    @ApiModelProperty ("业务日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField ("biz_time")
    private Date bizTime;

    @ApiModelProperty ("供应商编码")
    @TableField ("supplier_code")
    private String supplierCode;

    @ApiModelProperty ("供应商名称")
    @TableField ("supplier_name")
    private String supplierName;

    @ApiModelProperty ("实际分配标准")
    @TableField ("actual_allocation_standards")
    private String actualAllocationStandards;

    @ApiModelProperty ("分配权重")
    @TableField ("allocation_weight")
    private String allocationWeight;

    @ApiModelProperty ("分配基数")
    @TableField ("allocation_base")
    private String allocationBase;

    @ApiModelProperty ("所属组织")
    @TableField ("source_material_detail_id")
    private String sourceMaterialDetailId;

    @ApiModelProperty ("所属组织")
    @TableField ("dept_id")
    private String deptId;

    @ApiModelProperty ("创建人")
    @TableField ("create_by")
    private String createBy;

    @ApiModelProperty ("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField ("create_time")
    private Date createTime;

    @ApiModelProperty ("更新人")
    @TableField ("update_by")
    private String updateBy;

    @ApiModelProperty ("更新时间")
    @TableField ("update_time")
    private Date updateTime;

    @ApiModelProperty ("是否可用")
    @TableField ("is_used")
    private Integer isUsed;

    @TableField (exist = false)
    private String docTypeName;

    @TableField (exist = false)
    private String materialName;

    @TableField (exist = false)
    private String currencyName;

    @TableField (exist = false)
    private String standardCurrencyName;

    @TableField (exist = false)
    private String createUserName;


}
